/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.feiyue.basic.reader.util;

public class DisplayUtil {
	public static int dip2px(float paramFloat1, float paramFloat2) {
		return (int) (0.5F + paramFloat1 * paramFloat2);
	}

	public static int px2dip(float paramFloat1, float paramFloat2) {
		return (int) (0.5F + paramFloat1 / paramFloat2);
	}

	public static int px2sp(float paramFloat1, float paramFloat2) {
		return (int) (0.5F + paramFloat1 / paramFloat2);
	}

	public static int sp2px(float paramFloat1, float paramFloat2) {
		return (int) (0.5F + paramFloat1 * paramFloat2);
	}
}